#pragma once
#ifdef _WIN32
#define ZLIB_WINAPI
#endif

#include "zlib/zconf.h"
#include "zlib/zlib.h"

#pragma comment(lib,"zlib/zlibwapi.lib")

#include <string>
using namespace std;

class CZIP
{
	static int UnZip(const char * zdata, uLong nzdata, char * data, uLong * ndata);

public:
	CZIP();
	~CZIP();

	static int UnZip(const string zdata, char * data, uLong * ndata);
};

